#include"mystdio.h"
#include<stdio.h>
#include<string.h>
int main()
{
    mFILE* fp = mfopen("test.txt","w");
    if(fp == NULL)
    {
        return 1;
    }

    const char* mess = "hello mstdio\n";
    mfwrite(mess,strlen(mess),fp); 
    mfclose(fp);
    return 0;
}
